package com.example.myapplication.fragment;

import android.view.View;

import com.commentlib.app.BaseFragment;
import com.commentlib.utils.LogUtils;
import com.example.myapplication.R;
import com.example.myapplication.databinding.FlagmentWorkBinding;

public class FindWorkFragment extends BaseFragment<FlagmentWorkBinding> {

    private FlagmentWorkBinding workBinding;

    @Override
    public int initLayout() {
        return R.layout.flagment_work;
    }

    @Override
    public void initView(FlagmentWorkBinding binding) {
        workBinding = binding;
        workBinding.setClick(this);
        workBinding.setWork("工作");
    }

    public void onWork(View view){
        LogUtils.log(workBinding.getTexts());
        workBinding.setTexts(workBinding.getWork());
    }
}
